<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" 	prefix="s"%>
<%@ include file="/jsp/common/common_head.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
<title>示界港管理平台</title>
<%@ include file="/jsp/common/common_script.jsp"%>
<style type="text/css">
</style>
<script type="text/javascript">
 var g_userId = '<%=session.getAttribute("userId")%>';
</script>
</head>
<body>
<table class="queryTable" >
	<tr>
		<td class="queryTitle" width="68px">反馈状态:</td>
		<td class="queryContent">
			<select id="queryFbState" class="easyui-combobox" panelHeight="auto" editable="false" style="width: 120px" >
				<option value="0" selected>[不限]</option>
				<option value="1">未处理</option>
				<option value="2">处理中</option>
				<option value="3">已处理</option>
				<option value="4">垃圾</option>
			</select>
		</td>
		<td class="queryTitle" width="68px">反馈来源:</td>
		<td class="queryContent">
			<select id="queryFbFrom" class="easyui-combobox" panelHeight="auto" editable="false" style="width: 200px">
			</select> 
		</td>
		<td></td>
	</tr>
	<tr>
		<td class="queryTitle" width="68px">联系电话:</td>
		<td class="queryContent">
			<input class="inputText" type="text" style="width:120px" id="queryFbMobile" />
		</td>
		<td class="queryTitle" width="68px">反馈类型:</td>
		<td class="queryContent">
			<select id="queryFbType" class="easyui-combobox" panelHeight="auto" 
			editable="false" style="width: 200px"></select> 
		</td>
		<td class="queryBtnTd">
			<a href="javascript:void(0)" class="easyui-linkbutton" 
			iconCls="icon-search"  onclick="doQuery()">查询</a>
		</td>
	</tr>
</table>

<table id="feedbackGrid"></table>

<div id="stateDlg" class="easyui-window" title="" closed="true" style="width:600px; height:280px;text-align:center; background: #fff;">
	<div border="false" style="padding-left:20px;">
		<form id="stateForm"  method="POST">
			<s:hidden name="updFbId" id="updFbId"/>
			<table border="0" class="queryTable" width="95%" height="auto" style="margin-bottom:0px;" id="stateTable">
				<tr>	
					<td class="queryTitle" width="100px">反馈状态</td>
					<td class="queryContent" width="300px">
						<select id="updFbState" class="easyui-combobox" panelHeight="auto" editable="false" style="width: 120px" >
							<option value="0" selected>[未知]</option>
							<option value="1">未处理</option>
							<option value="2">处理中</option>
							<option value="3">已处理</option>
							<option value="4">垃圾</option>
						</select>
					</td>
				</tr>
				<tr>	
					<td class="queryTitle" width="100px">备注信息</td>
					<td class="queryContent">
						<textarea id="updFbNote" rows="8" cols="55" class="inputText easyui-validatebox" style="width:100%;resize:none;"></textarea>
					</td>
				</tr>
			</table>
		</form>
	</div>
	<div style="clear:both;padding-top:10px;margin-bottom:10px;text-align:center;" id="stateBtn">
		<a class="easyui-linkbutton" iconCls="icon-ok" href="javascript:void(0)" onclick="doUpdFb()">确定</a>
		<a class="easyui-linkbutton" iconCls="icon-cancel" href="javascript:void(0)" onclick="cancelUpdFb()">取消</a>
    </div>
</div>

<div id="detailDlg" class="easyui-window" title="" closed="true" style="width:700px; height:520px;text-align:center; background: #fff;">
	<div border="false" style="padding-left:20px;">
		<form id="detailForm"  method="POST">
			<s:hidden name="fbId" id="fbId"/>
			<table border="0" class="queryTable" width="95%" height="auto" style="margin-bottom:0px;" id="detailTable">
				<tr>	
					<td class="queryTitle" width="100px">反馈来源</td>
					<td class="queryContent">
						<div id="fb_from"></div>
					</td>
					<td class="queryTitle" width="100px">用户微信</td>
					<td class="queryContent">
						<div id="fb_weChat"></div>
					</td>
				</tr>
				<tr>
					<td class="queryTitle" width="100px">用户ID</td>
					<td class="queryContent">
						<div id="fb_userId"></div>
					</td>
					<td class="queryTitle" width="100px">用户昵称</td>
					<td class="queryContent">
						<div id="fb_userNickname"></div>
					</td>
				</tr>
				<tr>
					<td class="queryTitle" width="100px">手机号</td>
					<td class="queryContent">
						<div id="fb_mobile"></div>
					</td>
					<td class="queryTitle" width="100px">填写昵称</td>
					<td class="queryContent">
						<div id="fb_Name" style="color:blue;"></div>
					</td>
				</tr>
				<tr>	
					<td class="queryTitle" width="100px">E-mail</td>
					<td class="queryContent" colspan="3">
						<div id="fb_mail"></div>
					</td>
				</tr>
				<tr>	
					<td class="queryTitle" width="100px">意见内容</td>
					<td class="queryContent" colspan="3">
						<textarea id="fb_advice" rows="8" cols="55" class="inputText easyui-validatebox" style="width:100%;resize:none;" readonly></textarea>
					</td>
				</tr>
				<tr>	
					<td class="queryTitle" width="100px">用户选填<br>设备信息</td>
					<td class="queryContent" colspan="3">
						<textarea id="fb_device_user" rows="4" cols="55" class="inputText easyui-validatebox" style="width:100%;resize:none;" readonly></textarea>
					</td>
				</tr>
				<tr>	
					<td class="queryTitle" width="100px">自动收集<br>设备信息</td>
					<td class="queryContent" colspan="3">
						<textarea id="fb_device_sys" rows="4" cols="55" class="inputText easyui-validatebox" style="width:100%;resize:none;" readonly></textarea>
					</td>
				</tr>
				<tr>	
					<td class="queryTitle" width="100px">反馈图片</td>
					<td class="queryContent" colspan="3">
						<div style="display:table;height:20px;width:100%" id="fb_images">
						</div>
					</td>
				</tr>
			</table>
		</form>
	</div>
	<div style="clear:both;padding-top:10px;margin-bottom:10px;text-align:center;" id="detailBtn">
		<a class="easyui-linkbutton" iconCls="icon-no" href="javascript:void(0)" onclick="closeDetail()">关闭</a>
    </div>
</div>


<script type="text/javascript" src="${ctx}/js/yjx/yjxfeedbackInfo.js"></script>
<script type="text/javascript" src="${ctx}/js/encrypt/encrypted-min.js"></script>
</body>
</html>
